package com.ftg.learn.chapter08.vehicle;

/**
 * 测试
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/7/25 15:39
 */

public class UiDemo {

    public static void main(String[] args) {

        Car vehicle1=new Car();
        vehicle1.number();

        Car vehicle2=new Truck();
//        vehicle2.passenger_load=8;
        vehicle2.number();

        Vehicle1 v=new Car();
        v.run();

    }
}
